Replace workflow-gen with reusable workflow templates and Bullseye build scripts#352
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR migrates the repo away from the C# workflow-gen-generated GitHub Actions YAML approach to a reusable-workflow + per-component Bullseye build script model, backed by a shared .github/BuildHelpers library. It also consolidates component-specific release workflows into a single unified release.yml.
Changes:
- Introduces
.github/BuildHelpers(Bullseye/SimpleExec) plus per-componentbuild.csscripts for shared targets and test targets. - Replaces per-component CI/publish workflows with thin callers to reusable
ci-template.ymlandpublish-template.yml. - Adds a unified
.github/workflows/release.ymland removes the old per-component release workflows, the workflow-gen tool, and the test report generator workflow.
Reviewed changes
Copilot reviewed 40 out of 40 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| razor-slices/build.cs | Adds component build targets and default target for razor-slices (including two test targets). |
| memory-cache/build.cs | Adds component build targets and default target for memory-cache. |
| introspection/build.cs | Adds component build targets and default target for introspection. |
| ignore-this/build.cs | Adds component build targets and default target for ignore-this. |
| identity-model/build.cs | Adds component build targets and default target for identity-model. |
| identity-model-oidc-client/build.cs | Adds component build targets and default target for identity-model-oidc-client. |
| access-token-management/build.cs | Adds component build targets and default target for access-token-management. |
| .weave/state.json | Adds tool state metadata (should not be committed). |
| .weave/plans/kill-workflow-gen.md | Adds an internal plan document (likely should not be committed). |
| .github/workflows/release.yml | Adds unified release workflow (tagging, pack/sign/push, nuget.org publish). |
| .github/workflows/razor-slices-release.yml | Removes old generated per-component release workflow. |
| .github/workflows/razor-slices-publish.yml | Adds thin publish workflow calling publish-template.yml. |
| .github/workflows/razor-slices-ci.yml | Updates CI workflow to call ci-template.yml. |
| .github/workflows/publish-template.yml | Adds reusable publish workflow template (pack/sign/push/upload). |
| .github/workflows/memory-cache-release.yml | Removes old generated per-component release workflow. |
| .github/workflows/memory-cache-publish.yml | Adds thin publish workflow calling publish-template.yml. |
| .github/workflows/memory-cache-ci.yml | Updates CI workflow to call ci-template.yml. |
| .github/workflows/introspection-release.yml | Removes old generated per-component release workflow. |
| .github/workflows/introspection-publish.yml | Adds thin publish workflow calling publish-template.yml. |
| .github/workflows/introspection-ci.yml | Updates CI workflow to call ci-template.yml. |
| .github/workflows/ignore-this-release.yml | Removes old generated per-component release workflow. |
| .github/workflows/ignore-this-publish.yml | Adds thin publish workflow calling publish-template.yml. |
| .github/workflows/ignore-this-ci.yml | Updates CI workflow to call ci-template.yml. |
| .github/workflows/identity-model-release.yml | Removes old generated per-component release workflow. |
| .github/workflows/identity-model-publish.yml | Adds thin publish workflow calling publish-template.yml. |
| .github/workflows/identity-model-oidc-client-release.yml | Removes old generated per-component release workflow. |
| .github/workflows/identity-model-oidc-client-publish.yml | Adds thin publish workflow calling publish-template.yml. |
| .github/workflows/identity-model-oidc-client-ci.yml | Updates CI workflow to call ci-template.yml. |
| .github/workflows/identity-model-ci.yml | Updates CI workflow to call ci-template.yml with OS matrix input. |
| .github/workflows/generate-test-reports.yml | Removes the separate workflow_run-based test reporting workflow. |
| .github/workflows/ci-template.yml | Adds reusable CI workflow template (format/no-changes + test matrix + reporting). |
| .github/workflows/access-token-management-release.yml | Removes old generated per-component release workflow. |
| .github/workflows/access-token-management-publish.yml | Adds thin publish workflow calling publish-template.yml. |
| .github/workflows/access-token-management-ci.yml | Updates CI workflow to call ci-template.yml. |
| .github/workflow-gen/workflow-gen.csproj | Removes the workflow generator tool project. |
| .github/workflow-gen/Properties/launchSettings.json | Removes workflow generator tool launch settings. |
| .github/workflow-gen/Program.cs | Removes workflow generator tool implementation. |
| .github/BuildHelpers/Targets.cs | Adds shared Bullseye targets for restore/build/format/no-changes/test. |
| .github/BuildHelpers/BuildHelpers.csproj | Adds BuildHelpers project with Bullseye/SimpleExec dependencies. |
| .config/dotnet-tools.json | Adds dotnet tool manifest for NuGetKeyVaultSignTool. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
damianh
force-pushed
the
dh/kill-workflow-gen
branch
2 times, most recently
from
April 16, 2026 14:43
b92a1d8 to
191fb8b
Compare
…ild scripts Migrate from C# workflow-gen tool that generated GitHub Actions YAML to the same pattern used in products-private: reusable workflow_call templates (ci-template.yml, publish-template.yml) + Bullseye/SimpleExec build scripts (build.cs per component) backed by a shared BuildHelpers library. - Add .github/BuildHelpers/ shared library with Bullseye 6.1.0 / SimpleExec 12.1.0 - Add 7 per-component build.cs files with copyright headers - Add ci-template.yml and publish-template.yml reusable workflows - Add unified release.yml replacing 7 per-component release workflows - Add 7 CI and 7 publish caller workflows - Add Microsoft.Testing.Extensions.TrxReport for --report-trx support - Delete .github/workflow-gen/ directory and generate-test-reports.yml - Pin all GitHub Actions to commit SHAs (checkout v6, setup-dotnet v5, etc.) - Pass secrets via env vars instead of CLI args for security - Add shopt -s nullglob before nupkg sign loops - Scope job permissions to least privilege - Add .weave/ to .gitignore
damianh
force-pushed
the
dh/kill-workflow-gen
branch
from
April 16, 2026 14:50
191fb8b to
2dd858f
Compare
Erwinvandervalk
approved these changes
Apr 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Replaces the C#
workflow-gentool (which generated GitHub Actions YAML) with the same pattern used inproducts-private: reusableworkflow_calltemplates + per-component Bullseye/SimpleExecbuild.csscripts backed by a sharedBuildHelperslibrary.What changed
.github/BuildHelpers/shared library (Bullseye 6.1.0 / SimpleExec 12.1.0) with targets for check-formatting, check-no-changes, and testci-template.ymlandpublish-template.ymlreusable workflow templatesrelease.ymlreplacing 7 per-component release workflowsbuild.csfiles and 14 caller workflows (7 CI + 7 publish).github/workflow-gen/directory,generate-test-reports.yml, and 7*-release.ymlfilesSecurity hardening
checkout@v6,setup-dotnet@v5,upload-artifact@v7,download-artifact@v8)SignClientSecretpassed viaenv:blocks instead of CLI argumentsshopt -s nullglobbefore nupkg sign loopsNotes
scorecard.ymlandcodeql.ymlare intentionally unchangedidentity-modelretains cross-platform testing (ubuntu + windows) viaos-matrixinputrazor-sliceshas two test targets:test-razor-slicesandtest-source-generator